|
charger30 2.2.0
|
Charger 30 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Charger 30 Click example.
This example demonstrates the use of the Charger 30 Click board by reading and logging the charging status, input and battery voltage, current consumption, and fault diagnostics. The demo configures the default setup and then periodically polls for system status and fault information.
The demo application is composed of two sections:
Initializes the logger and the Charger 30 Click driver and applies the default configuration.
Periodically reads and logs charger status and fault registers along with voltage, current.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |